four bar chain problem and solution